package com.wans.guli.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wans.guli.common.utils.PageUtils;
import com.wans.guli.common.utils.R;
import com.wans.guli.member.entity.MemberEntity;

import java.util.Map;

/**
 * 会员
 *
 * @author wans
 * @email wansconst@163.com
 * @date 2025-08-01 16:25:57
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void register(MemberEntity member);

    R getUserInfo(String accessToken);

    /**
     * 登录
     * @param loginAccount 登录账号、手机号、邮箱
     * @param password 密码
     */
    MemberEntity login(String loginAccount, String password);
}

